import { request } from "@/utils/axios"

/**
 * 获取验证码
 */
export function sendCode(params) {
    return request(
        {
            url: "/information/sendCode",
            method: "GET",
            params: params,
        }
    );
}

/**
 * 忘记密码
 */

export function forgetPassword(data) {
    return request(
        {
            url: "/user/forgetPassword",
            method: "POST",
            data,
        }
    );
}


/**
 * 查询秘钥
 */
export function ActivationKeyApi(data) {
    return request(
        {
            url: "/secretkey-activation/activationKey",
            method: "POST",
            data: data,
        }
    );
}